package com.ruoyi.web.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.web.domain.MesUseInfo;
import com.ruoyi.web.domain.mes.MesUser;
import lombok.Data;

import java.util.List;

@Data
@TableName(value = "mes_machine_user")
public class MesMachineUser {

    @TableId(type = IdType.AUTO)
    public Long id;
    //机台id
    public String machineId;
    //用户id
    public Long userId;
    //职位
    public String position;
    //班组，1白班，2夜班
    public String team;
    //岗位占比
    public double proportion;
    //备注
    public String remark;

    @TableField(exist = false)
    private MesUser mesUsers;
}
